package com.raj.sample;

import java.math.BigDecimal;

public class BigDecimalTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		BigDecimal cur = new BigDecimal(14);
		BigDecimal pre = new BigDecimal(10);
		
		
		if ( cur.compareTo(pre) < 0 ) {
			System.out.println("if");
		}else {
			System.out.println("else");
		}

	}
	// private static org.apache.log4j.Logger logger = org.apache.log4j.Logger.getLogger(BigDecimalTest.class);
}
